package com.quanyan.stadium.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbDatesportInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbDatesportInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNull() {
            addCriterion("group_id is null");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNotNull() {
            addCriterion("group_id is not null");
            return (Criteria) this;
        }

        public Criteria andGroupIdEqualTo(String value) {
            addCriterion("group_id =", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotEqualTo(String value) {
            addCriterion("group_id <>", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThan(String value) {
            addCriterion("group_id >", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("group_id >=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThan(String value) {
            addCriterion("group_id <", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThanOrEqualTo(String value) {
            addCriterion("group_id <=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLike(String value) {
            addCriterion("group_id like", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotLike(String value) {
            addCriterion("group_id not like", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdIn(List<String> values) {
            addCriterion("group_id in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotIn(List<String> values) {
            addCriterion("group_id not in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdBetween(String value1, String value2) {
            addCriterion("group_id between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotBetween(String value1, String value2) {
            addCriterion("group_id not between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andSportTypeIsNull() {
            addCriterion("sport_type is null");
            return (Criteria) this;
        }

        public Criteria andSportTypeIsNotNull() {
            addCriterion("sport_type is not null");
            return (Criteria) this;
        }

        public Criteria andSportTypeEqualTo(Byte value) {
            addCriterion("sport_type =", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeNotEqualTo(Byte value) {
            addCriterion("sport_type <>", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeGreaterThan(Byte value) {
            addCriterion("sport_type >", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("sport_type >=", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeLessThan(Byte value) {
            addCriterion("sport_type <", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeLessThanOrEqualTo(Byte value) {
            addCriterion("sport_type <=", value, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeIn(List<Byte> values) {
            addCriterion("sport_type in", values, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeNotIn(List<Byte> values) {
            addCriterion("sport_type not in", values, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeBetween(Byte value1, Byte value2) {
            addCriterion("sport_type between", value1, value2, "sportType");
            return (Criteria) this;
        }

        public Criteria andSportTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("sport_type not between", value1, value2, "sportType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeIsNull() {
            addCriterion("play_type is null");
            return (Criteria) this;
        }

        public Criteria andPlayTypeIsNotNull() {
            addCriterion("play_type is not null");
            return (Criteria) this;
        }

        public Criteria andPlayTypeEqualTo(Integer value) {
            addCriterion("play_type =", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeNotEqualTo(Integer value) {
            addCriterion("play_type <>", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeGreaterThan(Integer value) {
            addCriterion("play_type >", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("play_type >=", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeLessThan(Integer value) {
            addCriterion("play_type <", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("play_type <=", value, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeIn(List<Integer> values) {
            addCriterion("play_type in", values, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeNotIn(List<Integer> values) {
            addCriterion("play_type not in", values, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeBetween(Integer value1, Integer value2) {
            addCriterion("play_type between", value1, value2, "playType");
            return (Criteria) this;
        }

        public Criteria andPlayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("play_type not between", value1, value2, "playType");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitIsNull() {
            addCriterion("player_trait is null");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitIsNotNull() {
            addCriterion("player_trait is not null");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitEqualTo(Byte value) {
            addCriterion("player_trait =", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitNotEqualTo(Byte value) {
            addCriterion("player_trait <>", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitGreaterThan(Byte value) {
            addCriterion("player_trait >", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitGreaterThanOrEqualTo(Byte value) {
            addCriterion("player_trait >=", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitLessThan(Byte value) {
            addCriterion("player_trait <", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitLessThanOrEqualTo(Byte value) {
            addCriterion("player_trait <=", value, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitIn(List<Byte> values) {
            addCriterion("player_trait in", values, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitNotIn(List<Byte> values) {
            addCriterion("player_trait not in", values, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitBetween(Byte value1, Byte value2) {
            addCriterion("player_trait between", value1, value2, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerTraitNotBetween(Byte value1, Byte value2) {
            addCriterion("player_trait not between", value1, value2, "playerTrait");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelIsNull() {
            addCriterion("player_level is null");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelIsNotNull() {
            addCriterion("player_level is not null");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelEqualTo(Byte value) {
            addCriterion("player_level =", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelNotEqualTo(Byte value) {
            addCriterion("player_level <>", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelGreaterThan(Byte value) {
            addCriterion("player_level >", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelGreaterThanOrEqualTo(Byte value) {
            addCriterion("player_level >=", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelLessThan(Byte value) {
            addCriterion("player_level <", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelLessThanOrEqualTo(Byte value) {
            addCriterion("player_level <=", value, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelIn(List<Byte> values) {
            addCriterion("player_level in", values, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelNotIn(List<Byte> values) {
            addCriterion("player_level not in", values, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelBetween(Byte value1, Byte value2) {
            addCriterion("player_level between", value1, value2, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andPlayerLevelNotBetween(Byte value1, Byte value2) {
            addCriterion("player_level not between", value1, value2, "playerLevel");
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNull() {
            addCriterion("cost_type is null");
            return (Criteria) this;
        }

        public Criteria andCostTypeIsNotNull() {
            addCriterion("cost_type is not null");
            return (Criteria) this;
        }

        public Criteria andCostTypeEqualTo(Byte value) {
            addCriterion("cost_type =", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotEqualTo(Byte value) {
            addCriterion("cost_type <>", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThan(Byte value) {
            addCriterion("cost_type >", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("cost_type >=", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThan(Byte value) {
            addCriterion("cost_type <", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeLessThanOrEqualTo(Byte value) {
            addCriterion("cost_type <=", value, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeIn(List<Byte> values) {
            addCriterion("cost_type in", values, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotIn(List<Byte> values) {
            addCriterion("cost_type not in", values, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeBetween(Byte value1, Byte value2) {
            addCriterion("cost_type between", value1, value2, "costType");
            return (Criteria) this;
        }

        public Criteria andCostTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("cost_type not between", value1, value2, "costType");
            return (Criteria) this;
        }

        public Criteria andGenderStructureIsNull() {
            addCriterion("gender_structure is null");
            return (Criteria) this;
        }

        public Criteria andGenderStructureIsNotNull() {
            addCriterion("gender_structure is not null");
            return (Criteria) this;
        }

        public Criteria andGenderStructureEqualTo(Byte value) {
            addCriterion("gender_structure =", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureNotEqualTo(Byte value) {
            addCriterion("gender_structure <>", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureGreaterThan(Byte value) {
            addCriterion("gender_structure >", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureGreaterThanOrEqualTo(Byte value) {
            addCriterion("gender_structure >=", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureLessThan(Byte value) {
            addCriterion("gender_structure <", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureLessThanOrEqualTo(Byte value) {
            addCriterion("gender_structure <=", value, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureIn(List<Byte> values) {
            addCriterion("gender_structure in", values, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureNotIn(List<Byte> values) {
            addCriterion("gender_structure not in", values, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureBetween(Byte value1, Byte value2) {
            addCriterion("gender_structure between", value1, value2, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderStructureNotBetween(Byte value1, Byte value2) {
            addCriterion("gender_structure not between", value1, value2, "genderStructure");
            return (Criteria) this;
        }

        public Criteria andGenderTypeIsNull() {
            addCriterion("gender_type is null");
            return (Criteria) this;
        }

        public Criteria andGenderTypeIsNotNull() {
            addCriterion("gender_type is not null");
            return (Criteria) this;
        }

        public Criteria andGenderTypeEqualTo(Byte value) {
            addCriterion("gender_type =", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeNotEqualTo(Byte value) {
            addCriterion("gender_type <>", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeGreaterThan(Byte value) {
            addCriterion("gender_type >", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("gender_type >=", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeLessThan(Byte value) {
            addCriterion("gender_type <", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeLessThanOrEqualTo(Byte value) {
            addCriterion("gender_type <=", value, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeIn(List<Byte> values) {
            addCriterion("gender_type in", values, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeNotIn(List<Byte> values) {
            addCriterion("gender_type not in", values, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeBetween(Byte value1, Byte value2) {
            addCriterion("gender_type between", value1, value2, "genderType");
            return (Criteria) this;
        }

        public Criteria andGenderTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("gender_type not between", value1, value2, "genderType");
            return (Criteria) this;
        }

        public Criteria andTimeFrameIsNull() {
            addCriterion("time_frame is null");
            return (Criteria) this;
        }

        public Criteria andTimeFrameIsNotNull() {
            addCriterion("time_frame is not null");
            return (Criteria) this;
        }

        public Criteria andTimeFrameEqualTo(Byte value) {
            addCriterion("time_frame =", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameNotEqualTo(Byte value) {
            addCriterion("time_frame <>", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameGreaterThan(Byte value) {
            addCriterion("time_frame >", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameGreaterThanOrEqualTo(Byte value) {
            addCriterion("time_frame >=", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameLessThan(Byte value) {
            addCriterion("time_frame <", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameLessThanOrEqualTo(Byte value) {
            addCriterion("time_frame <=", value, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameIn(List<Byte> values) {
            addCriterion("time_frame in", values, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameNotIn(List<Byte> values) {
            addCriterion("time_frame not in", values, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameBetween(Byte value1, Byte value2) {
            addCriterion("time_frame between", value1, value2, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andTimeFrameNotBetween(Byte value1, Byte value2) {
            addCriterion("time_frame not between", value1, value2, "timeFrame");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeIsNull() {
            addCriterion("distance_range is null");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeIsNotNull() {
            addCriterion("distance_range is not null");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeEqualTo(Byte value) {
            addCriterion("distance_range =", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeNotEqualTo(Byte value) {
            addCriterion("distance_range <>", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeGreaterThan(Byte value) {
            addCriterion("distance_range >", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeGreaterThanOrEqualTo(Byte value) {
            addCriterion("distance_range >=", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeLessThan(Byte value) {
            addCriterion("distance_range <", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeLessThanOrEqualTo(Byte value) {
            addCriterion("distance_range <=", value, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeIn(List<Byte> values) {
            addCriterion("distance_range in", values, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeNotIn(List<Byte> values) {
            addCriterion("distance_range not in", values, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeBetween(Byte value1, Byte value2) {
            addCriterion("distance_range between", value1, value2, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andDistanceRangeNotBetween(Byte value1, Byte value2) {
            addCriterion("distance_range not between", value1, value2, "distanceRange");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Byte value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Byte value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Byte value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Byte value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Byte value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Byte> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Byte> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Byte value1, Byte value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andMembersInfoIsNull() {
            addCriterion("members_info is null");
            return (Criteria) this;
        }

        public Criteria andMembersInfoIsNotNull() {
            addCriterion("members_info is not null");
            return (Criteria) this;
        }

        public Criteria andMembersInfoEqualTo(String value) {
            addCriterion("members_info =", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoNotEqualTo(String value) {
            addCriterion("members_info <>", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoGreaterThan(String value) {
            addCriterion("members_info >", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoGreaterThanOrEqualTo(String value) {
            addCriterion("members_info >=", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoLessThan(String value) {
            addCriterion("members_info <", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoLessThanOrEqualTo(String value) {
            addCriterion("members_info <=", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoLike(String value) {
            addCriterion("members_info like", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoNotLike(String value) {
            addCriterion("members_info not like", value, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoIn(List<String> values) {
            addCriterion("members_info in", values, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoNotIn(List<String> values) {
            addCriterion("members_info not in", values, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoBetween(String value1, String value2) {
            addCriterion("members_info between", value1, value2, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andMembersInfoNotBetween(String value1, String value2) {
            addCriterion("members_info not between", value1, value2, "membersInfo");
            return (Criteria) this;
        }

        public Criteria andJoinedCountIsNull() {
            addCriterion("joined_count is null");
            return (Criteria) this;
        }

        public Criteria andJoinedCountIsNotNull() {
            addCriterion("joined_count is not null");
            return (Criteria) this;
        }

        public Criteria andJoinedCountEqualTo(Integer value) {
            addCriterion("joined_count =", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountNotEqualTo(Integer value) {
            addCriterion("joined_count <>", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountGreaterThan(Integer value) {
            addCriterion("joined_count >", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("joined_count >=", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountLessThan(Integer value) {
            addCriterion("joined_count <", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountLessThanOrEqualTo(Integer value) {
            addCriterion("joined_count <=", value, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountIn(List<Integer> values) {
            addCriterion("joined_count in", values, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountNotIn(List<Integer> values) {
            addCriterion("joined_count not in", values, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountBetween(Integer value1, Integer value2) {
            addCriterion("joined_count between", value1, value2, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andJoinedCountNotBetween(Integer value1, Integer value2) {
            addCriterion("joined_count not between", value1, value2, "joinedCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountIsNull() {
            addCriterion("player_count is null");
            return (Criteria) this;
        }

        public Criteria andPlayerCountIsNotNull() {
            addCriterion("player_count is not null");
            return (Criteria) this;
        }

        public Criteria andPlayerCountEqualTo(Integer value) {
            addCriterion("player_count =", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountNotEqualTo(Integer value) {
            addCriterion("player_count <>", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountGreaterThan(Integer value) {
            addCriterion("player_count >", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("player_count >=", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountLessThan(Integer value) {
            addCriterion("player_count <", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountLessThanOrEqualTo(Integer value) {
            addCriterion("player_count <=", value, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountIn(List<Integer> values) {
            addCriterion("player_count in", values, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountNotIn(List<Integer> values) {
            addCriterion("player_count not in", values, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountBetween(Integer value1, Integer value2) {
            addCriterion("player_count between", value1, value2, "playerCount");
            return (Criteria) this;
        }

        public Criteria andPlayerCountNotBetween(Integer value1, Integer value2) {
            addCriterion("player_count not between", value1, value2, "playerCount");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNull() {
            addCriterion("is_check is null");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNotNull() {
            addCriterion("is_check is not null");
            return (Criteria) this;
        }

        public Criteria andIsCheckEqualTo(Byte value) {
            addCriterion("is_check =", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotEqualTo(Byte value) {
            addCriterion("is_check <>", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThan(Byte value) {
            addCriterion("is_check >", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_check >=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThan(Byte value) {
            addCriterion("is_check <", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThanOrEqualTo(Byte value) {
            addCriterion("is_check <=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckIn(List<Byte> values) {
            addCriterion("is_check in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotIn(List<Byte> values) {
            addCriterion("is_check not in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckBetween(Byte value1, Byte value2) {
            addCriterion("is_check between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotBetween(Byte value1, Byte value2) {
            addCriterion("is_check not between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneIsNull() {
            addCriterion("is_public_phone is null");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneIsNotNull() {
            addCriterion("is_public_phone is not null");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneEqualTo(Byte value) {
            addCriterion("is_public_phone =", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneNotEqualTo(Byte value) {
            addCriterion("is_public_phone <>", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneGreaterThan(Byte value) {
            addCriterion("is_public_phone >", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_public_phone >=", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneLessThan(Byte value) {
            addCriterion("is_public_phone <", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneLessThanOrEqualTo(Byte value) {
            addCriterion("is_public_phone <=", value, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneIn(List<Byte> values) {
            addCriterion("is_public_phone in", values, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneNotIn(List<Byte> values) {
            addCriterion("is_public_phone not in", values, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneBetween(Byte value1, Byte value2) {
            addCriterion("is_public_phone between", value1, value2, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andIsPublicPhoneNotBetween(Byte value1, Byte value2) {
            addCriterion("is_public_phone not between", value1, value2, "isPublicPhone");
            return (Criteria) this;
        }

        public Criteria andLngIsNull() {
            addCriterion("lng is null");
            return (Criteria) this;
        }

        public Criteria andLngIsNotNull() {
            addCriterion("lng is not null");
            return (Criteria) this;
        }

        public Criteria andLngEqualTo(Double value) {
            addCriterion("lng =", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotEqualTo(Double value) {
            addCriterion("lng <>", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThan(Double value) {
            addCriterion("lng >", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngGreaterThanOrEqualTo(Double value) {
            addCriterion("lng >=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThan(Double value) {
            addCriterion("lng <", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngLessThanOrEqualTo(Double value) {
            addCriterion("lng <=", value, "lng");
            return (Criteria) this;
        }

        public Criteria andLngIn(List<Double> values) {
            addCriterion("lng in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotIn(List<Double> values) {
            addCriterion("lng not in", values, "lng");
            return (Criteria) this;
        }

        public Criteria andLngBetween(Double value1, Double value2) {
            addCriterion("lng between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLngNotBetween(Double value1, Double value2) {
            addCriterion("lng not between", value1, value2, "lng");
            return (Criteria) this;
        }

        public Criteria andLatIsNull() {
            addCriterion("lat is null");
            return (Criteria) this;
        }

        public Criteria andLatIsNotNull() {
            addCriterion("lat is not null");
            return (Criteria) this;
        }

        public Criteria andLatEqualTo(Double value) {
            addCriterion("lat =", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotEqualTo(Double value) {
            addCriterion("lat <>", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThan(Double value) {
            addCriterion("lat >", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatGreaterThanOrEqualTo(Double value) {
            addCriterion("lat >=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThan(Double value) {
            addCriterion("lat <", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatLessThanOrEqualTo(Double value) {
            addCriterion("lat <=", value, "lat");
            return (Criteria) this;
        }

        public Criteria andLatIn(List<Double> values) {
            addCriterion("lat in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotIn(List<Double> values) {
            addCriterion("lat not in", values, "lat");
            return (Criteria) this;
        }

        public Criteria andLatBetween(Double value1, Double value2) {
            addCriterion("lat between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andLatNotBetween(Double value1, Double value2) {
            addCriterion("lat not between", value1, value2, "lat");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymIsNull() {
            addCriterion("is_booking_gym is null");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymIsNotNull() {
            addCriterion("is_booking_gym is not null");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymEqualTo(Byte value) {
            addCriterion("is_booking_gym =", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymNotEqualTo(Byte value) {
            addCriterion("is_booking_gym <>", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymGreaterThan(Byte value) {
            addCriterion("is_booking_gym >", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_booking_gym >=", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymLessThan(Byte value) {
            addCriterion("is_booking_gym <", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymLessThanOrEqualTo(Byte value) {
            addCriterion("is_booking_gym <=", value, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymIn(List<Byte> values) {
            addCriterion("is_booking_gym in", values, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymNotIn(List<Byte> values) {
            addCriterion("is_booking_gym not in", values, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymBetween(Byte value1, Byte value2) {
            addCriterion("is_booking_gym between", value1, value2, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andIsBookingGymNotBetween(Byte value1, Byte value2) {
            addCriterion("is_booking_gym not between", value1, value2, "isBookingGym");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andInviteCountIsNull() {
            addCriterion("invite_count is null");
            return (Criteria) this;
        }

        public Criteria andInviteCountIsNotNull() {
            addCriterion("invite_count is not null");
            return (Criteria) this;
        }

        public Criteria andInviteCountEqualTo(Integer value) {
            addCriterion("invite_count =", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountNotEqualTo(Integer value) {
            addCriterion("invite_count <>", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountGreaterThan(Integer value) {
            addCriterion("invite_count >", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("invite_count >=", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountLessThan(Integer value) {
            addCriterion("invite_count <", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountLessThanOrEqualTo(Integer value) {
            addCriterion("invite_count <=", value, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountIn(List<Integer> values) {
            addCriterion("invite_count in", values, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountNotIn(List<Integer> values) {
            addCriterion("invite_count not in", values, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountBetween(Integer value1, Integer value2) {
            addCriterion("invite_count between", value1, value2, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteCountNotBetween(Integer value1, Integer value2) {
            addCriterion("invite_count not between", value1, value2, "inviteCount");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeIsNull() {
            addCriterion("invite_update_time is null");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeIsNotNull() {
            addCriterion("invite_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeEqualTo(Date value) {
            addCriterion("invite_update_time =", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeNotEqualTo(Date value) {
            addCriterion("invite_update_time <>", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeGreaterThan(Date value) {
            addCriterion("invite_update_time >", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("invite_update_time >=", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeLessThan(Date value) {
            addCriterion("invite_update_time <", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("invite_update_time <=", value, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeIn(List<Date> values) {
            addCriterion("invite_update_time in", values, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeNotIn(List<Date> values) {
            addCriterion("invite_update_time not in", values, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("invite_update_time between", value1, value2, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andInviteUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("invite_update_time not between", value1, value2, "inviteUpdateTime");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}